/*
 * main_task_ops.h
 *
 *  Created on: 2024年8月19日
 *      Author: nwz
 */

#ifndef CODE_TASK_MAIN_TASK_OPS_H_
#define CODE_TASK_MAIN_TASK_OPS_H_

int main_task_ops_download(void (*callback)(uint32_t size, uint32_t file_size));

int main_task_ops_check_app(void);

int main_task_ops_check_bootloader(void);

int main_task_ops_check_app_copy(void);

int main_task_ops_check_bootloader_copy(void);

int main_task_ops_copy_app(void (*callback)(uint32_t size, uint32_t tsize));

int main_task_ops_copy_bootloader(
		void (*callback)(uint32_t size, uint32_t tsize));

#endif /* CODE_TASK_MAIN_TASK_OPS_H_ */
